import React from "react";
import ReactDOM from "react-dom/client";
import RoutesConfig from "./router/index";
import "./index.css";
import {ThemeProvider} from "./components/Nodel";

const root = ReactDOM.createRoot(
  document.getElementById("root") as HTMLElement
);

root.render(
  <React.StrictMode>
    <ThemeProvider>
      <RoutesConfig />
    </ThemeProvider>
  </React.StrictMode>
);